//
// Created by HONOR on 2024/3/18.
//

#ifndef C_LANGUAGE_MODE4_H
#define C_LANGUAGE_MODE4_H

#endif //C_LANGUAGE_MODE4_H
# include <stdio.h>

int mode4(){
    // 1.定义char 数据类型的变量
    // char字符  取值范围ASCII吗表上的所有的内容  windows只占有一个字节
    char c1 = 'a';
    printf("%c",c1);
    char c2 = '1';
    printf("%c",c2);
    char c3 = 'a';
    printf("%c",c3);
    char c4 = 'A';
    printf("%c",c4);
    char c5 = '.';
    printf("%c",c5);
    char c6 = '你';
    printf("%c",c6);

    //2.使用sizeof
    printf("%llu\n",sizeof (char ));
    printf("%llu\n",sizeof (c1));
    printf("%llu\n",sizeof (c6));

};